home *** CD-ROM | disk | FTP | other *** search
/ Archive Magazine CD 1995 / Archive Magazine CD 1995.iso / discs / pipeline / abacus / p_line / Charts01 / ReadMe next >
Text File  |  1993-08-27  |  16KB  |  312 lines

  1. %OP%VS4.13 (28-Apr-92), Gerald L Fitton, R4000 5966 9904 9938 
  2. %OP%DP0
  3. %OP%IRY
  4. %OP%PL0
  5. %OP%HM0
  6. %OP%FM0
  7. %OP%BM0
  8. %OP%LM4
  9. %OP%PT1
  10. %OP%PDPipeLine
  11. %OP%WC1014,2262,184,1748,0,0,0,0
  12. %CO:A,72,72%
  13. %C%Charts from the Beginning - Part 1
  14. %C%by Gerald L Fitton
  15. Keywords:
  16. Charts Fitton
  17.  
  18. Warning!
  19. Apart from this [ReadMe] file, do not attempt to load and run any of 
  20. the other files in this directory from the master disc!
  21.  
  22. Why is this?  Colton Software's hot linked graphics package operates by 
  23. saving copies of chart files back to disc.  The original file we have 
  24. supplied will be over written.  For that reason I strongly suggest that 
  25. you work with back up copies of the files in this directory rather than 
  26. the originals.
  27.  
  28. We supply our PipeLine discs with the write protect tab open so that 
  29. (unless you slide it over to close the hole) you will be unable to 
  30. write to the disc which we supply.  An error message from your 
  31. operating system may suggest to you that having your disc write 
  32. protected is a mistake.  I suggest that you do not open the write 
  33. protect tab but that you copy the files either to your hard disc or, if 
  34. you have sufficient memory, then use a RAM disc.  Because the files are 
  35. saved every time the data is modified you need to load and save at 
  36. speed.  A RAM disc is faster than a hard disc which in turn is faster 
  37. than a floppy.
  38.  
  39. Creating a RAM disc
  40. Place the pointer over the icon which is at the right hand end of the 
  41. icon bar (on earlier machines this icon was a 'fancy', slanting upper 
  42. case A but, on the latest machines, it is an acorn) and tap the mouse 
  43. Menu (middle) button.  Select 'Task display'.  Near the bottom of the 
  44. task display window you will find 'RAM disc    0K' (meaning zero 
  45. Kilobytes - not 'correct').  Place the pointer just to the right of 
  46. '0K' and (using the Select - left - mouse button) increase this to some 
  47. suitable value such as '64K'.  A RAM icon will appear on the left of 
  48. the icon bar; it can be treated exactly as a disc icon - indeed, you 
  49. have created a RAM disc.  The information stored in a RAM disc is lost 
  50. when you switch off the computer so, before closing down, make sure 
  51. that you have copied the files you want to keep from the RAM disc to a 
  52. 'proper' disc.
  53.  
  54. RISC OS Printing
  55. Although charts make pleasant pictures on a monitor, the result wanted 
  56. by most users of charts will be 'hard copy' - printed output!
  57.  
  58. You can not print charts with PipeDream printer drivers but only with 
  59. RISC OS printer drivers.  The [ReadMe] file in the Printing02 directory 
  60. of the August 1992 PipeLine 4 disc contains an explanation of the 
  61. difference between the two forms of printing as well as general advice 
  62. about RISC OS printers.  If you have not read that file then I suggest 
  63. that you might find it useful before you proceed further with designing 
  64. and printing charts.  Because you can print charts only with a RISC OS 
  65. printer driver, the example files in this directory (but not this 
  66. [ReadMe] file) have been saved with the 'Printer configuration - 
  67. Printer type' set to RISC OS rather than the more usual Parallel.
  68.  
  69. RISC OS printing takes longer than PipeDream printer driver printing 
  70. (typically RISC OS printing takes 5 to 10 minutes per A4 page) but, 
  71. without RISC OS printing, you will not be able to print charts.
  72.  
  73. I find the RISC OS output from the so called '9 - pin' printers 
  74. disappointing because of the large dot diameter.  Dot matrix printers 
  75. with 24 pins are substantially better, bubble and ink jet printers are 
  76. better still, only marginally poorer than laser printers.  Again, 
  77. please read the [ReadMe] file in the directory Printing02 for a more 
  78. information.
  79.  
  80. If you have RISC OS 3 then you will have been provided with a suitable 
  81. printer driver as part of that operating system.  If you have RISC OS 2 
  82. but you do not have any printer drivers then I suggest that you upgrade 
  83. to RISC OS 3 (see below under Outline Fonts).
  84.  
  85. Outline Fonts
  86. The charts generated by PipeDream 4 include text.  The numbers which 
  87. appear along the axes of graphs are text as are the named 'categories' 
  88. (more of which later) which appear along the 'x - axis' of bar charts.  
  89. Although you can select any of your typefaces the default used by 
  90. Colton Software is Acorn's proprietary Homerton font.
  91.  
  92. You will not get very far with the PipeDream 4 charts package if you do 
  93. not have Acorn's outline font manager and, at least, the Homerton font.  
  94. So where do you get these from?
  95.  
  96. If you have bought a RISC OS 3 machine or upgraded from RISC OS 2 to 
  97. RISC OS 3 then your purchase will include both the outline font manager 
  98. and some outline fonts (including Homerton).  If you intend to upgrade 
  99. from RISC OS 2 to RISC OS 3 then, when you buy RISC OS 3, you will find 
  100. that a (new) font manager and the Homerton (and other) fonts are built 
  101. into the RISC OS 3 'chips'.
  102.  
  103. RISC OS 3.10 is available now (27th August 1992) at about £50.00 so I 
  104. suggest that, rather than spend money on an outline font starter kit 
  105. and printer drivers for use with RISC OS 2 at a cost of about £50.00, 
  106. you may prefer to spend the £50.00 on RISC OS 3.  I strongly recommend 
  107. buying RISC OS 3 rather than 'upgrading' your RISC OS 2 system.
  108.  
  109. Even if you have RISC OS 2, printer drivers and some outline fonts, I 
  110. still recommend that, if you are 'serious' about using PipeDream 4 
  111. Charts, you upgrade to RISC OS 3.  Colton Software have told me that 
  112. PipeDream 4 has been 'optimised' for RISC OS 3.  My experience is that 
  113. using PipeDream 4 with RISC OS 3 is noticeably 'smoother' and quicker.
  114.  
  115. Finally on outline fonts, on the more recent issues of Colton 
  116. Software's PipeDream 4 Examples disc you will find a version of Acorn's 
  117. outline font manager which is suitable for use with RISC OS 2 (but not 
  118. with 3).  However, you will not find any outline fonts nor RISC OS 2 
  119. printer drivers to go with that font manager.  If you are in the 
  120. position of not having Acorn's Homerton font and if you do not intend 
  121. to upgrade to RISC OS 3 then write to me and I will advise you how best 
  122. to overcome your shortage so that you can use PipeDream 4's charts.
  123.  
  124. PipeDream 4 - Version 4.13
  125. Today is the 27th August 1992 and, as I write, the latest version of 
  126. PipeDream 4 is 4.13.  I am convinced that there will not be any further 
  127. upgrades of PipeDream 4.  Upgrades to version 4.13 are available free 
  128. of charge but only from Colton Software.  If you do not have version 
  129. 4.13 then send both your Program disc and (this is important, 
  130. especially if you intend to stick with RISC OS 2) your Examples disc to 
  131. Colton Software asking for the latest version.
  132.  
  133. Many of the improvements to PipeDream 4 between version 4.10 and 4.13 
  134. have been to the way in which PipeDream 4's charts operate.  If you do 
  135. not have version 4.13 then some of the facilities which I refer to 
  136. later in this article either do not exist or do not work.  Please 
  137. upgrade your version to 4.13 before writing to me and complaining!  It 
  138. is partly because I was waiting for the charts to 'stabilise' and 
  139. partly because I wanted to assess whether to advise you to upgrade to 
  140. RISC OS 3 (with fonts and printer drivers) that I have delayed the 
  141. launch of this 'Charts from the Beginning' series.
  142.  
  143. Recent issues of the Examples disc contains the latest RISC OS 2 
  144. versions of the CLib (C library), FPE (Floating point emulator), Colour 
  145. and Outline font manager modules.  Unless you have RISC OS 3 you should 
  146. copy these onto your system disc.  Don't copy them if you do have 
  147. RISC OS 3!  If you haven't had much practice at merging !Systems 
  148. directories then you may find the files in the StartUp directory of the 
  149. February 1992 PipeLine 4 disc useful.
  150.  
  151. Homerton font
  152. Yes!  I know that we haven't got around to charts yet but this is 
  153. intended to be 'from the beginning' and it is as well to get the 
  154. preliminaries 'right' from the start.  I bet I've still missed out 
  155. something important and you'll telephone (or fax me) to tell me of the 
  156. difficulties you are having with the charts files I have included in 
  157. this directory.
  158.  
  159. Anyway, here is my logic.  Charts need to be printed.  Printing 
  160. requires RISC OS printer drivers (not PipeDream printer drivers).  
  161. RISC OS printer drivers require outline fonts.  Colton Software's 
  162. default font for the text created by their charts package is Homerton.  
  163. If you are going to use charts you already have (or will soon have) 
  164. Acorn's Outline font manager, the Homerton font and RISC OS printer 
  165. drivers.  My advise is that you upgrade to RISC OS 3 because it 
  166. includes all these (and much more).
  167.  
  168. Hence, on this and other PipeLine discs the files in directories 
  169. containing charts will be in Homerton font (later charts directories 
  170. will include files in Trinity font).
  171.  
  172. If you send me contributions to PipeLine which include charts then I 
  173. shall be most grateful if you will keep the [ReadMe] file in system 
  174. font and, for now, the application files in Homerton.  Later I will 
  175. probably extend the range of typefaces used in charts applications to 
  176. include Trinity but I am reluctant at the moment to include Selwyn or 
  177. NewHall since many subscribers to PipeLine will be using Dingbats 
  178. (instead of Selwyn) and NewSchbook (instead of NewHall).  Error 
  179. messages will be generated and the text in the chart will appear on 
  180. screen in system font, probably at the wrong scale, and a printed 
  181. version will look a real mess.
  182.  
  183. Charts
  184. The time has come to try out a chart.
  185.  
  186. If you say "Graph" to a Mathematician they will probably think of a 
  187. graph with x and y axes, a set of points and a line running through the 
  188. points.  The PipeDream 4 package will produce such "x - y" graphs but, 
  189. for this simple exercise I shall use a bar chart.  I do this partly 
  190. because bar charts are generally appreciated more easily by non 
  191. mathematicians and partly because the bar chart is the default option 
  192. built into PipeDream 4 by Colton Software.
  193.  
  194. In this directory, Charts01, you will find the files [Timing_1], 
  195. [Timing_2] and [Timing_1C].  PipeDream chart files behave differently 
  196. from PipeDream files but they do not have a different Acorn type number 
  197. and so they appear in a directory viewer having the same icon as other 
  198. PipeDream 4 files.  In order to distinguish a chart file from an 
  199. 'ordinary' PipeDream 4 file the convention I am using is that a file 
  200. with _C as a suffix is a chart file.  This convention of an underline 
  201. followed by an upper case C is also used by Colton Software and I 
  202. recommend it to you.
  203.  
  204. The file [Timing_2] is a close copy of the file [Timing_1], however, it 
  205. is not hot linked to a chart and you can experiment with it.  The file 
  206. [Timing_1D] is a file in !Draw format to which I shall refer later.
  207.  
  208. Double click on the [Timing_1] file to load it.  The chart [Timing_1C] 
  209. will be loaded into slot [Timing_1]A14.  I have scaled the chart to 
  210. 130%PC% of its full size so that it fits across a 72 column screen.
  211.  
  212. The only font used in [Timing_1] is Homerton.  For rows 2 to 11 the 
  213. font is 10 point with a 12 point line spacing.  The chart which is 
  214. loaded into [Timing_1]A14 also uses the Homerton font.  If you do not 
  215. have Homerton then the system font will be used and the document will 
  216. probably look a mess!
  217.  
  218. Let me say right away that this table of data and the chart do not 
  219. conform to the standards which I would normally insist on for an 
  220. illustrative table and an illustrative chart.  In particular I have no 
  221. title and no units on the chart and I do realise that this is bad 
  222. practice.  More of such things in another tutorial - in any case I 
  223. shall start that series by discussing how to convert reference tables 
  224. into illustrative tables using PipeDream.  What I want to do in this 
  225. tutorial is to use the defaults provided by Colton Software so that you 
  226. can learn the basics of deriving charts from data.
  227.  
  228. The data consists of the Names of five people in column A, the time in 
  229. minutes which they took to get to work Yesterday and Today in columns B 
  230. and C respectively.  The bar chart shows the time taken yesterday in 
  231. red and today's time in yellow.
  232.  
  233. Place the pointer in slot C10 (Sheila's time for today ) and change the 
  234. value from 23 to 80.  You will find that the (modified) file 
  235. [Timing_1C] will be saved (overwriting the original file) and the 
  236. yellow bar corresponding to Sheila will grow.  Restore the value in 
  237. [Timing_1]C23 to 23 and the file will be saved again and the chart 
  238. will be drawn again.
  239.  
  240. The file, [Timing_1], has been sorted on column A (in alphabetical 
  241. order).  Mark the block A6C11.  Execute the command <Ctrl BSO> (Block 
  242. SOrt) on column B first in Ascending order.  You will find that the hot 
  243. linked chart will be redrawn with the largest bar at the right when the 
  244. data is sorted in Ascending order on column B.
  245.  
  246. It is more usual to display bar charts in descending order from left to 
  247. right.  Execute <Ctrl BSO> again but this time remove the blue star 
  248. from the Ascending order box so that the data is sorted in descending 
  249. order.  Now resort it into alphabetical order on column A.  Notice that 
  250. the chart is not only drawn on the screen but is saved to your disc or 
  251. RAM disc each time the data is changed.
  252.  
  253. Change Bill to William.  The chart is saved and then drawn only when 
  254. you move the cursor from slot [Timing_1]A6 and not before.
  255.  
  256. Creating the Charts
  257. You can repeat the way in which I this chart.  Make sure you work with 
  258. a back up copy of the files.  Load [Timing_2].  Look at the expression 
  259. in slot [Timing_2]A14 and you will see that the name of the chart you 
  260. have to create is [Timing_2C].  I have left out the @@ in this line so 
  261. that PipeDream will not give you an error message that the chart can 
  262. not be found.  Place the cursor at the start of row 14 and then tap 
  263. <F8> to delete the name of the chart.
  264.  
  265. Drag the pointer from A6 to C11 to mark the data.  Then execute the 
  266. command <Ctrl CHN> (CHart New) or alternatively click the mouse Menu 
  267. (middle) button and run the pointer through Chart and click on New 
  268. Chart.  You will create a bar chart which PipeDream will provisionally 
  269. called [Chart1].  Place the pointer in the [Chart1] window, tap the 
  270. mouse Menu button, run the pointer through Save, change the name to 
  271. [Timing_2C] and drag the icon into the directory window containing the 
  272. back up copy of [Timing_2].
  273.  
  274. Place the pointer in slot [Timing_2]A14 and click the mouse Select 
  275. (left) button.  Drag the file [Timing_2C] into the [Timing_2] window.  
  276. The bar chart will be drawn at 100%PC% with its top left corner in slot 
  277. A14.  Place the pointer in [Timing_2]A14, click the mouse Select button 
  278. and edit the line @@G:Timing_2C,100@@ to read @@G:Timing_2C,130@@ so that 
  279. the bar chart is enlarged to 130%PC% size.
  280.  
  281. If you wish you can close the window containing what was [Chart1] and 
  282. is now called [Timing_2C] by clicking Select on the close window icon.
  283.  
  284. Finally save the modified [Timing_2].  To prove that all is well, close 
  285. the [Timing_2] window and load it again - if you have succeeded then 
  286. you will find that the chart loads and is hot linked.
  287.  
  288. I'm not sure if it's a 'bug' or not but sometimes I find that, on 
  289. reloading, the chart is not hot linked.  If you find this then Save 
  290. everything, quit PipeDream from the icon bar and double click on 
  291. [Timing_2C].  This second time, from a 'cold start' the hot link will 
  292. be active (well it is for me).
  293.  
  294. Over to you
  295. If you have succeeded in creating this 'default options' chart you may 
  296. like to experiment and see if you can 'improve' the chart.  As I 
  297. implied earlier I am not particularly proud of the file [Timing_1C] as 
  298. it stands.  Apart from missing text (such as title and units) which 
  299. requires larger margins (from the Options menu), I would like to see 
  300. the bars narrower so that there is a gap between bars.  I would prefer 
  301. the '3D' turned off and settings (from the Gallery - Bar sub menu) such 
  302. as Bar size 60%PC% width and 60%PC% overlap.  All these are achievable from 
  303. within PipeDream but they will have to await another tutorial.  The 
  304. file [Timing_1D] has been Saved from PipeDream in !Draw format and, as 
  305. an illustrative chart I think it is approaching a "Merit" standard.  
  306. You'll have to wait for another tutorial to 'discover' the way to 
  307. achieve a "Distinction" standard using PipeDream's hot linked charts.
  308.  
  309. Please let me know how you get on and, if you have real trouble 
  310. producing the type of chart which you want, then write to me enclosing 
  311. a disc file of your data and I will try to help you.
  312.